<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head profile="http://purl.org/net/ns/metaprof">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<meta name="generator" content="zenphoto" />
	<meta name="author" content="<?php printGalleryTitle(); ?>" />
	<?php printRSSHeaderLink('Gallery',gettext('Gallery RSS')); ?>
	<link rel="stylesheet" href="<?php echo $_zp_themeroot ?>/style.css" type="text/css" />
	<title><?php echo getImageTitle();?> <?php echo getAlbumTitle();?> | <?php printGalleryTitle(); ?></title>
	<script type="text/javascript" src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/plugins/rating/rating.js"></script>
	<link rel="stylesheet" href="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/plugins/rating/rating.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/thickbox.css" type="text/css" />
	<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/jquery.js" type="text/javascript"></script>
	<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/thickbox.js" type="text/javascript"></script>
	<script type="text/javascript">
	function toggleComments() {
		var commentDiv = document.getElementById("comments");
		if (commentDiv.style.display == "block") {
			commentDiv.style.display = "none";
		} else {
			commentDiv.style.display = "block";
		}
	}
	</script>
	<?php zenJavascript(); ?>
</head>

<body class="Index single">
<div id="header">
	<p class="siteName"><a href="<?php echo getGalleryIndexURL();?>" title="<?php echo gettext('Albums Index'); ?>"><?php echo getGalleryTitle();?></a></p>
		
</div>

<div id="content">
	<div id="main">
		<p class="topicPath"><?php printHomeLink('', ' &gt; '); ?> <a href="<?php echo getGalleryIndexURL();?>" title="Albums Index"><?php echo getGalleryTitle();?></a> &gt; <?php printParentBreadcrumb(); ?> <a href="<?=getAlbumLinkURL();?>" title="Gallery Index"><?=getAlbumTitle();?></a>&gt; <span class="current"><?php printImageTitle(true); ?></span></p>
		
	
		
			<ul class="flip" id="flip1">
			<?php if (hasPrevImage()) { ?>
			<li class="newer"><a href="<?php echo getPrevImageURL();?>" title="<?php echo gettext("Previous Image"); ?>"><?php echo gettext("prev"); ?></a></li>
			<?php } if (hasNextImage()) { ?>
			<li class="older"><a href="<?php echo getNextImageURL();?>" title="<?php echo gettext("Next Image"); ?>"><?php echo gettext("next"); ?></a></li>
			<?php } ?>
			</ul>
			
		<h1><?=getAlbumTitle();?> | <?php echo getImageTitle();?></h1>

		<div class="section entry" id="images">
			
			<ul class="info">
				<li class="date"><?php printAlbumDate(""); ?></li>
			</ul>
			
			<div class="textBody">
				
				<!--Image表示↓-->
	<?php if (!checkForPassword()) { ?>
	<div id="image" align="center" >
		<a href="<?php echo getFullImageURL();?>" title="<?php echo getImageTitle();?>"><strong><?php printDefaultSizedImage(getImageTitle()); ?></strong></a> 
		</div>
	
	
	<div id="narrow">
		
		<?php printImageDesc(true); ?>
		<?php if (function_exists('printSlideShowLink')) printSlideShowLink(gettext('View Slideshow')); ?>	
		
		
		<?php printTags('links', gettext('<strong>Tags:</strong> '), 'taglist', ''); ?>
		<?php if (function_exists('printImageMap')) printImageMap(); ?>
		
		<?php if (function_exists('printShutterfly')) printShutterfly(); ?>
				<!--Image表示↑-->
				
			</div>
			</div>
			<?php if (function_exists('printImageRating')) { printImageRating(); }?>
			</div>
			<ul class="flip" id="flip2">
			<?php if (hasPrevImage()) { ?>
			<li class="newer"><a href="<?php echo getPrevImageURL();?>" title="<?php echo gettext("Previous Image"); ?>"><?php echo gettext("prev"); ?></a></li>
			<?php } if (hasNextImage()) { ?>
			<li class="older"><a href="<?php echo getNextImageURL();?>" title="<?php echo gettext("Next Image"); ?>"><?php echo gettext("next"); ?></a></li>
			<?php } ?>
			</ul>
			
			<!--コメント表示-->
					<?php if (getOption('Allow_comments')) { ?>
				<div class="section" id="comments">
					<h2>Comments<?php $num = getCommentCount(); echo ($num == 0) ? "" : ("".gettext("")." ($num)"); ?></h2>
					
						<?php while (next_comment()):  ?>
						<dl class="log">
							<dt><span class="name"><?php printCommentAuthorLink(); ?></span> <span class="date"><?php echo getCommentDate();?> , <?php echo getCommentTime();?>  <?php printEditCommentLink('Edit', ' | ', ''); ?></span></dt>
				<dd>
				<p><?php echo getCommentBody();?></p>
				</dd>
				</dl>
						<?php endwhile; ?>
					
				<!--コメントフォーム-->
				<?php if (OpenedForComments()) { ?>
							<!-- If comments are on for this image AND album... -->
							
							<form id="commentform" action="#comments" method="post">
							<fieldset>
								<legend>Comment Form</legend>
								
									<input type="hidden" name="comment" value="1" />
									<input type="hidden" name="remember" value="1" />
										<?php printCommentErrors(); ?>
									
										<dl id="name-email">
											<dt><label>Name (必須)</label></dt>    
											<dd><input type="text" name="name" size="20" value="<?php echo $stored[0];?>" /> </dd>
										<dt><label>Mail address (非公開)</label></dt>
										<dd><input type="text" name="email" size="20" value="<?php echo $stored[1];?>" /></dd>
										<dt><label><abbr title="Uniform Resource Identifer">URI</abbr></label></dt> 
										<dd><input type="text" name="website" size="30" value="<?php echo $stored[2];?>" /></dd>
										<dt><label>Captcha</label></dt>
										<dd><?php printCaptcha(' ', ':', ''); ?></dd>
										<dt><label for="comment-text">Comment<span>-</span></label></dt>
										<dd><textarea id="comment-text" name="comment" rows="8" cols="50" onfocus="if (this.value == 'Add Your Comment') this.value = '';" onblur="if (this.value == '') this.value = 'Add Your Comment';">Add Your Comment</textarea></dd>
					</dl>
									
									<div class="action">
						<input type="submit" id="comment-post" value="POST" class="submit post" />
					</div>
								</fieldset>
							</form>
						
						
				<?php } else { echo 'Comments are closed.'; } ?>
				</div>
				<?php } ?>
			
		
		<?php } ?>
		
		
				
				
		
				
		
		<p class="topicPath"><?php printHomeLink('', ' &gt; '); ?> <a href="<?php echo getGalleryIndexURL();?>" title="Albums Index"><?php echo getGalleryTitle();?></a> &gt; <?php printParentBreadcrumb(); ?> <span class="current"><?php printAlbumTitle(true);?></span></p>
	</div><!-- end main-->

<div id="utilities">
	<dl class="navi">

		

		
		

		<dt>Archives</dt>
		<dd>
			<ul class="archive">
	<li><a href="?p=archive">Archive View</a></li>
			</ul>
		</dd>
		
	</dl>
	<!--end navi-->

	<dl class="others">
		<dt>Search</dt>
		<dd>
			<?php if (getOption('Allow_search')) {  printSearchForm(''); } ?>
		</dd>
		<dt>Feeds</dt>
		<dd>
			<ul class="feeds">
				<li><?php printRSSLink('Gallery','','RSS', ''); ?></li>
			</ul>
		</dd>
		<dt>Meta</dt>
		<dd>
			<ul class="meta">
				
<li><a href="<?php echo getGalleryIndexURL();?>zp-core/admin.php">サイト管理</a></li>	
			<li><?php printAdminLink('Admin', '', ''); ?></li>
			</ul>
		</dd>
	</dl><!--end others-->
</div><!--end utilities-->

	<p class="return"><a href="#header">Return to page top</a></p>
</div><!--end content-->

<div id="footer">
	<ul class="support">
		<li>Powered by <a href="http://www.zenphoto.org" title="A simpler web photo album">ZenPhoto</a></li>
		<li class="template"><a href="http://vicuna.jp/">vicuna CMS</a> - <a href="http://blog.planting-field.com/items/zpv" title="1.01">ZPV.</a></li>
	</ul>
	<address>Copyright &copy; <?php printGalleryTitle(); ?> All Rights Reserved.</address>
</div>
	<?php printAdminToolbox(); ?>
</body>
</html>